makeDir

fun makeDir(folder: String, subfolder: String): Pair<File, Boolean>

Creates a config directory keyed off the standard Fabric Config Directory

Used to create a directory in the config parent directory inside the .minecraft folder. If the directory can't be created, the right/second member of the returned Pair will be false.

Return

A Pair, with a File instance and whether the directory could be successfully created

Author

fzzyhmstrs

Since

0.1.0

Parameters

folder

the base folder for created directories. Should be considered analogous to the 'namespace' for a mod using this lib

subfolder

sub-folders for specific configs. Will typically be blank